package com.cha.chaApp.vaccination.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;

import com.cha.chaApp.vaccination.vo.VaccinationVO;
import com.cha.chaCommon.core.entity.hgq.Vaccination;

import org.apache.ibatis.annotations.Param;


import java.util.List;

public interface VaccinationDao extends BaseMapper<Vaccination> {
    List<Vaccination> selectAllVaccinationByBabyId(Integer id);

    List<VaccinationVO> selectAllVaccinationVOByBabyId(Integer id);

    IPage<VaccinationVO> selectOrderPage(IPage<VaccinationVO> page, @Param("babyId") Integer babyId);
//    IPage<VaccinationVO> selectOrderPage(IPage<VaccinationVO> page, @Param(Constants.WRAPPER) QueryWrapper<VaccinationVO> wrapper);
}
